package com.fg.cloud.manager.service.system;

import java.util.Map;

import com.fg.cloud.common.PageUtils;
import com.fg.cloud.manager.entry.system.CoderulesPurposeEntity;

public interface CodeRulesService {

	/**
	 * 查询编码
	 * */
	String findRules(Map<String, Object> usmap);

	/**
	 * 新增
	 * */
	Integer insertRule(CoderulesPurposeEntity cpe);

	/**
	 * 删除
	 * */
	Integer deleteRules(Map<String, Object> usmap);

	/**
	 * 查询头
	 * */
	void rulesList(PageUtils<CoderulesPurposeEntity> pageinfo);

	/**
	 * 查询详情
	 * */
	CoderulesPurposeEntity findDatels(Map<String, Object> usmap);

	/**
	 * 修改
	 * */
	Integer updateCodeRules(CoderulesPurposeEntity cpe);

}
